/* 
 * File:   Utils.h
 * Author: aina
 *
 * Created on February 20, 2012, 6:17 PM
 */

#ifndef UTILS_H
#define	UTILS_H

#ifdef	__cplusplus
extern "C" {
#endif
#include <libpcan.h>

#define CONTENT_TYPE_JSON "Content-type: text/json\n\n"

void printJSONErrorMsg(char * msg);
int byteArray2int(BYTE LSN, BYTE MSN);

#ifdef	__cplusplus
}
#endif

#endif	/* UTILS_H */

